<?php
echo			"<div>";
for ($i = 1; $i < $len_category; $i++) {
echo <<< HERE
				
					<div style="margin:5px 10%; width:30%; height:30%; float:left">
HERE;
$catid = $children[$i]['category_id'];
$cat = $soap->call ($session_id, 'catalog_category.info', $catid);
// echo print_r($cat);
// echo $cat['image'];
echo 				"<a href=\"#\"><img width=\"100%\" src=\"/magento/skin/frontend/default/default/images/" . 
					$cat['image'] . "\"/>" . "<br/><div align=\"center\"> " . 
					$children[$i]['name']."</div></a>";
echo 				"</div>";
}
echo 			"</div>";
?>